package Autopeli;

/*
 * Esteet.java
 *
 * Created on 7. huhtikuuta 2005, 9:28
 */
import java.awt.Image;
/**
 *
 * @author  mapas
 */
public class Checkpoint {
    private int x,y;
    private int w,h;
    private Image image;
    
    public Checkpoint(int x, int y, Image image) {
        this.x = x;
        this.y = y;
        this.image = image;
        this.w = image.getWidth(null);
        this.h = image.getHeight(null);
    }
    
    public int getX() {
        return this.x;
    }

     public int getY() {
        return this.y;
    }
     
    public int getW() {
        return this.w;
    }
    
    public int getH() {
        return this.h;
    }
    public Image getImage() {
        return this.image;
    }
    
}
